{?include file='./div/div_html_head_info.tpl'?}

{?config_load file="smarty_vars.conf"?}

<body>

{?include file=#div_path#|cat:'div_pre_header.tpl'?}

<div class="container">

{?include file=#div_path#|cat:'div_header.tpl'?}

{?include file=#div_path#|cat:'div_nav.tpl'?}

<div class="span-17">
	 
<h4>更新你的信息</h4>

<!--更新用户信息模块-->
<form action="/classmate/controller/account/do_update_user_head_img.php" method="post" enctype="multipart/form-data">

	 {?include file=#mod_path#|cat:'mod_message.tpl' type="error" message=$update_user_head_img_message?}

	 <div class="span-12">

	 	 <label for="head_url">当前头像</label><br />

	 	 <hr />
		 <img src="{?$head_url?}"  style="margin:10px;"/>
	 	 <hr />

	 	 <p>
	 	 <span>你可以上传JPG、JPEG、GIF、PNG或BMP文件。</span><br />
	 	 <label for="head_img">文件名:</label>
	 	 <input type="file" name="head_img" id="head_img" />
	 	 </p>

	 	 <p>
	 	 	 <input type="submit" value="马上更新头像" />
		 </p>

                 <p>
                          您还可以使用<a href="http://en.gravatar.com/"> gravater </a>来设置头像，一劳永逸。
                 </p>
	 </div>

</form>


</div>

<div class="span-7 last">
</div>

{?include file=#div_path#|cat:'div_footer.tpl'?}

</div>
</body>
</html>

